package com.chen.service;

import com.chen.model.Invoice;

import java.util.List;


public interface InvoiceService {

     int addInvoice(Invoice invoice);

     List<Invoice> findAllInvoice();

     int updateInvoice(Invoice invoice);

     Invoice findInvoiceById(Integer invoice_id);

     List<Invoice> findInvoiceByContract(Integer contract_id);

     int sendInvoice(Invoice invoice);

     int toSendInvoice(Invoice invoice);
}
